package cn.edu.scau.cmi.foodRecognite;

import com.baidu.aip.imageclassify.AipImageClassify;

public class AipImageClassifyClient extends AipImageClassify{
	private static AipImageClassifyClient aipImageClassifyClient;

	AipImageClassifyClient(String appId, String apiKey, String secretKey) {
		super(appId, apiKey, secretKey);
	}

	public static AipImageClassifyClient getInstance(String appId, String apiKey, String secretKey) {
		if (aipImageClassifyClient == null) {
			aipImageClassifyClient = new AipImageClassifyClient(appId, apiKey, secretKey);
		}
		return aipImageClassifyClient;
	}
}